// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
/* 轮播图插件 cnpm install vue-awesome-swiper@2.6.7 --save */
import VueAwesomeSwiper from 'vue-awesome-swiper'
import router from './router'
/* 解决移动端点击300毫秒延迟的问题 */
import fastClick from 'fastclick'
/* 在webpack.base.conf.js中resolve下设置了路径别名 */
/** 数据共享 */
import store from './store'
/**  解决低版本不兼容的问题（白屏） cnpm install babel-polyfill --save */
import 'babel-polyfill'
import 'styles/reset.css'
import 'styles/border.css'
import 'styles/iconfont.css'
import 'vue-awesome-swiper/node_modules/swiper/dist/css/swiper.css'

Vue.config.productionTip = false
fastClick.attach(document.body)
Vue.use(VueAwesomeSwiper)
/* eslint-disable no-new  */
/** 如果键值一样直接,就可以 */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
